Ext.define('Admin.view.trade.TradeController', {
	        extend : 'Admin.app.CardController',
	        alias : 'controller.trade',

	        onTreeSelected : function(view, record, params) {
		        var me = this, contentPanel = me.getReferences().contentPanel;
		        var tradelist = me.setCurrentView('tradelist');
		        tradelist.fireEvent('refresh', tradelist, record, params);
	        },

	        showTradeResult : function(data) {
		        var me = this, vm = me.getViewModel(), record = vm.get('record');
		        vm.set('back', 'tradelist');
		        var tradeResult = me.setCurrentView('traderesult');
	        }
        });